home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Chans / lists / dlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-18  |  907 b   |  63 lines

  1. /* dlist.h: */
  2.  
  3. /*
  4.  * @(#) $Header: /xtel/pp/pp-beta/Chans/lists/RCS/dlist.h,v 6.0 1991/12/18 20:10:43 jpo Rel $
  5.  *
  6.  * $Log: dlist.h,v $
  7.  * Revision 6.0  1991/12/18  20:10:43  jpo
  8.  * Release 6.0
  9.  *
  10.  *
  11.  */
  12.  
  13.  
  14.  
  15. #ifndef _H_DIRLIST_DLIST
  16. #define _H_DIRLIST_DLIST
  17.  
  18. #include    "util.h"
  19. #include    <isode/quipu/ufn.h>
  20. #include    "or.h"
  21. #include     "DL-types.h"
  22. #include     "MD-types.h"
  23.  
  24. typedef struct dl_policy {
  25.     char    dp_expand;
  26.  
  27.     int    dp_convert;
  28. #define DP_ORIGINAL    1    /* default */
  29. #define DP_FALSE    2
  30. #define DP_TRUE        3    
  31.  
  32.     int    dp_priority;
  33. /* #define DP_ORIGINAL    1 */
  34. #define DP_LOW        2    /* default */
  35. #define DP_NORMAL    3
  36. #define DP_HIGH        4
  37.  
  38. } dl_policy;
  39.  
  40.  
  41.  
  42. typedef struct dl_permit {
  43.  
  44.     int     dp_type;
  45. #define DP_INDIVIDUAL    1
  46. #define DP_MEMBER    2
  47. #define DP_PATTERN    3
  48. #define DP_GROUP    4
  49.  
  50.     union {
  51.         ORName    * dp_un_or;
  52.         DN    dp_un_dn;
  53.     } dp_un;
  54.  
  55. #define dp_or dp_un.dp_un_or
  56. #define dp_dn dp_un.dp_un_dn
  57.  
  58. } dl_permit;
  59.  
  60.  
  61.  
  62. #endif
  63.